﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="IntegralOptions.aspx.cs"
    Inherits="MemberInfo_IntegralOptions" CodeFileBaseClass="Frame.Pages.ActionInfomationEditBasePage"
    MasterPageFile="~/MainMaster.master" %>

<%@ Register Assembly="DevExpress.Web.v10.2.Linq, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Data.Linq" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="MainContent">
    <h1 class="DemoTitle">
        积分设置
    </h1>
    <div>
        <dx:ASPxRoundPanel ID="MainRoundPanel" runat="server" View="GroupBox" Width="100%"
            HeaderText="操作区" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
            EnableDefaultAppearance="False" GroupBoxCaptionOffsetX="6px" GroupBoxCaptionOffsetY="-19px"
            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
            <ContentPaddings PaddingBottom="10px" PaddingLeft="9px" PaddingRight="11px" PaddingTop="10px" />
            <HeaderStyle>
                <Paddings PaddingBottom="6px" PaddingLeft="9px" PaddingRight="11px" PaddingTop="3px" />
            </HeaderStyle>
            <PanelCollection>
                <dx:PanelContent runat="server" SupportsDisabledAttribute="True">
                </dx:PanelContent>
            </PanelCollection>
        </dx:ASPxRoundPanel>
        <dx:ASPxGridView ID="gridView" runat="server" AutoGenerateColumns="False" Width="100%"
            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
            DataSourceID="LSMDSource">
            <SettingsEditing Mode="PopupEditForm" PopupEditFormHorizontalAlign="WindowCenter"
                PopupEditFormVerticalAlign="WindowCenter" />
            <Columns>
                <dx:GridViewDataTextColumn FieldName="spbm" VisibleIndex="0" Caption="商品编码" Name="t_cpbm">
                    <PropertiesTextEdit MaxLength="20" Native="true" Width="200px" Style-Font-Size="10pt">
                        <ValidationSettings CausesValidation="true">
                            <RequiredField IsRequired="true" ErrorText="商品编码不可为空！"></RequiredField>
                        </ValidationSettings>
                        <Style Font-Size="10pt"></Style>
                    </PropertiesTextEdit>
                    <EditFormSettings CaptionLocation="Near" Visible="True" />
                    <CellStyle HorizontalAlign="Center">
                    </CellStyle>
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn FieldName="rule" VisibleIndex="1" Caption="积分规则" Name="t_rule">
                    <PropertiesTextEdit MaxLength="20" Native="true" Width="200px" Style-Font-Size="10pt">
                        <ValidationSettings CausesValidation="true">
                            <RequiredField IsRequired="true" ErrorText="积分规则不可为空！"></RequiredField>
                        </ValidationSettings>
                        <Style Font-Size="10pt"></Style>
                    </PropertiesTextEdit>
                    <EditFormSettings CaptionLocation="Near" Visible="True" />
                    <CellStyle HorizontalAlign="Center">
                    </CellStyle>
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn FieldName="founder" VisibleIndex="2" Caption="创建人" Name="t_founder">
                    <EditFormSettings CaptionLocation="Near" ColumnSpan="3" Visible="False" />
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn FieldName="fdate" VisibleIndex="3" Caption="创建时间" Name="t_fdate">
                    <EditFormSettings CaptionLocation="Near" ColumnSpan="3" Visible="False" />
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn FieldName="editor" VisibleIndex="4" Caption="最后修改人" Name="t_rdator">
                    <EditFormSettings CaptionLocation="Near" ColumnSpan="3" Visible="False" />
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn FieldName="edate" VisibleIndex="5" Caption="最后修改时间" Name="t_edate">
                    <EditFormSettings CaptionLocation="Near" ColumnSpan="3" Visible="False" />
                </dx:GridViewDataTextColumn>
            </Columns>
            <SettingsEditing Mode="PopupEditForm" PopupEditFormHorizontalAlign="WindowCenter"
                PopupEditFormVerticalAlign="WindowCenter" />
            <Images SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                </LoadingPanelOnStatusBar>
                <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                </LoadingPanel>
            </Images>
            <ImagesFilterControl>
                <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                </LoadingPanel>
            </ImagesFilterControl>
            <Styles CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue">
                <Header ImageSpacing="5px" SortingImageSpacing="5px">
                </Header>
                <LoadingPanel ImageSpacing="5px">
                </LoadingPanel>
            </Styles>
            <StylesPager>
                <PageNumber ForeColor="#3E4846">
                </PageNumber>
                <Summary ForeColor="#1E395B">
                </Summary>
            </StylesPager>
            <StylesEditors ButtonEditCellSpacing="0">
                <ProgressBar Height="21px">
                </ProgressBar>
            </StylesEditors>
        </dx:ASPxGridView>
        <dx:LinqServerModeDataSource ID="LSMDSource" runat="server" ContextTypeName="DAL.DataClassesDataContext"
            EnableDelete="True" EnableInsert="True" EnableUpdate="True" TableName="css_hydj_jfsz"
            OnInserting="LSMDSource_Inserting" OnUpdating="LSMDSource_Updating" />
    </div>
</asp:Content>
